package com.dimensiondance.controller;

import com.dimensiondance.service.LogService;
import lombok.AllArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author v_hhjzhou
 * @Desc:
 * @date 2021/11/22 11:35
 */
@RestController
@RequestMapping("/log")
@AllArgsConstructor
public class LogController {

    private LogService logService;

    @GetMapping
    public String getLog(){
        return logService.getInfo();
    }
}
